// Copyright 2004 Armand du Plessis <armand@dotnet.org.za>
// http://dotnet.org.za/armand/articles/2453.aspx
// Thanks to Joe Cataford and Friedrich Brunzema.
// Also see MSDN: http://msdn2.microsoft.com/en-us/library/ms675899.aspx
// Enhancements by sgryphon@computer.org (PACOM):
// - Integrated with the CommonDialog API, e.g. returns a DialogResult, changed namespace, etc.
// - Marked COM interop code as internal; only the main dialog (and related classes) are public.
// - Added basic scope (location) and filter (object type) control, plus multi-select flag.